-- GENERATED SPELL FOR [Glacial Ancient] --


function spell0_25709(pUnit, Event) --@Frost Breath,n/a--
pUnit:FullCastSpellOnTarget(50505,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25709', 6262, 1)
end

function Sorts_25709(pUnit, Event)
local choix_sorts_25709 = math.random(0, 0)
if choix_sorts_25709 == 0 then
pUnit:RegisterEvent('spell0_25709', 1, 1)
end
end

function mob25709_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25709', math.random(1500, 3000), 1)
end

function mob25709_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25709_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25709_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25709, 1, 'mob25709_Action')
RegisterUnitEvent(25709, 2, 'mob25709_Leave')
RegisterUnitEvent(25709, 3, 'mob25709_Kill')
RegisterUnitEvent(25709, 4, 'mob25709_Die')
